//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.DictSysparamsDataDto;
//import java.io.Serializable;
//import com.rt.schedulebase.service.IDictSysparamsDataService;
//import com.rt.schedulebase.entity.DictSysparamsData;
//import com.rt.schedulebase.mapper.DictSysparamsDataMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//public class DictSysparamsDataServiceImpl extends ServiceImpl<DictSysparamsDataMapper, DictSysparamsData> implements IDictSysparamsDataService
//{
//@Override
//    public boolean insertSelective(final DictSysparamsData dictSysparamsData) {
//        return this.retBool(Integer.valueOf(((DictSysparamsDataMapper)this.baseMapper).insert(dictSysparamsData)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((DictSysparamsDataMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final DictSysparamsData dictSysparamsData) {
//        return this.retBool(Integer.valueOf(((DictSysparamsDataMapper)this.baseMapper).updateById(dictSysparamsData)));
//    }
//
//@Override
//    public DictSysparamsData selectByPrimaryKey(final String key) {
//        return (DictSysparamsData)((DictSysparamsDataMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<DictSysparamsData> getList(final DictSysparamsDataDto dto) {
//        final QueryWrapper<DictSysparamsData> qw = (QueryWrapper<DictSysparamsData>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        qw.allEq((Map)map, false);
//        final List<DictSysparamsData> list = (List<DictSysparamsData>)((DictSysparamsDataMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<DictSysparamsData> getListAll() {
//        return (List<DictSysparamsData>)((DictSysparamsDataMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final DictSysparamsData dictSysparamsData) {
//        final UpdateWrapper<DictSysparamsData> uw = (UpdateWrapper<DictSysparamsData>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((DictSysparamsDataMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final DictSysparamsData dictSysparamsData) {
//        final UpdateWrapper<DictSysparamsData> uw = (UpdateWrapper<DictSysparamsData>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("DATA_CODE", dictSysparamsData.getDataCode());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((DictSysparamsDataMapper)this.baseMapper).update(dictSysparamsData, (Wrapper)uw)));
//    }
//
//@Override
//    public DictSysparamsData getInfo(final DictSysparamsDataDto dto) {
//        final QueryWrapper<DictSysparamsData> qw = (QueryWrapper<DictSysparamsData>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        qw.allEq((Map)map, false);
//        return (DictSysparamsData)((DictSysparamsDataMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//
//@Override
//    public boolean saveOrUpdate(final DictSysparamsDataDto dto) {
//        final DictSysparamsData dictSysparamsData = this.getInfo(dto);
//        if (dictSysparamsData != null) {
//            return this.updateByPrimaryKeySelective(dto);
//        }
//        return this.insertSelective(dto);
//    }
//}
